import { http } from "../modules/http";
export default {
  getAttentionInit: (data) => {
    return http.get("/attention/init", {
      params: data,
    });
  },
  checkAccessPwd: (data) => {
    return http.post("/attention/check_pwd", data);
  },
  getAttentionList: (data) => {
    return http.get("/attention/list", {
      params: data,
    });
  },
  saveUserInfo: (data) => {
    return http.post("/user/register", data);
  },
  submitAnswer: (data) => {
    return http.post("/attention/submit", data);
  },
  getResult: (data) => {
    return http.get("/attention/get_result", {
      params: data,
    });
  },
};
